/*
 * @Author: benchenchuang benchenchuang
 * @Date: 2023-06-03 17:45:27
 * @LastEditors: benchenchuang benchenchuang
 * @LastEditTime: 2023-08-13 20:40:21
 * @FilePath: /hmp-web/src/api/staff/labour.js
 * @Description: 这是默认设置,请设置`customMade`, 打开koroFileHeader查看配置 进行设置: https://github.com/OBKoro1/koro1FileHeader/wiki/%E9%85%8D%E7%BD%AE
 */
import request from '@/utils/request';

/**
 * @description 查询列表
 */
export const remoteList = params => {
    return request.get('/sys/insureHistory/queryDailyInsureHistory', params);
};
/**
 * @description 分页查询投保实时总表
 */
export const remoteTotalList = params => {
    return request.get('/sys/insureHistory/queryJoinInsureUsers', params);
};

//导出保险增减每日统计
export const downloadDayInfo = data =>{
    return request.get(`/sys/insureHistory/exportDailyInsureHistory`,data,'blob')
}
//导出投保实时总表
export const downloadTotalInfo = data =>{
    return request.get(`/sys/insureHistory/exportJoinInsureUsers`,data,'blob')
}

export default {
    remoteList
};
